package com.lkk.cg.util;

import com.lkk.cg.domain.Privilege;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by lkk on 2014/12/22.
 */
public class PrivilegeUtils {
    public static List<String> getPrivilegeStringList(List<Privilege> privilegeList) {
        List<String> privilegeStringList = new ArrayList<String>();
        for (Privilege privilege : privilegeList) {
            privilegeStringList.add(privilege.getUrl());
        }
        return privilegeStringList;
    }

}
